/**
 * @Author：JIAMIN_TANG
 * @Description:
 * @CreateTime：2025/9/24 20:27
 */
public class SystemUtil {
    public static boolean isAdmin(String userId) {
        System.out.println(userId.toLowerCase());//打印出admin
        return userId.toLowerCase() == "admin";//返回false
//        return userId.toLowerCase().equals("admin");//返回true
//        return userId.toLowerCase().intern() == "admin";//返回true
    }
    public static void main(String[] args) {
        System.out.println(isAdmin("Admin"));
    }
}
